package com.zhoun.dao;

import com.zhoun.pojo.Category;
import com.zhoun.pojo.Product;

import java.util.List;

public interface CategoryMapper {
    int deleteByPrimaryKey(Integer categoryId);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer categoryId);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    Category selectByCategoryName(String categoryName);

    List<Category> getCategoryList();

}